package com.litree.service.utils;

public interface ReturnMsg {
	public static final int LOGIN_SUCCESS=0;
	public static final String LOGIN_SUCCESS_DESC="登录成功";
	public static final int LOGIN_ERROR=1;
	public static final String LOGIN_ERROR_DESC="用户名或密码错误,请重新输入";
	public static final int LOGIN_USER_NOT_EXIST=2;
	public static final String LOGIN_USER_NOT_EXIST_DESC="用户不存在";
	public static final int LOGIN_PERMISSION_ERROR=3;
	public static final String LOGIN_PERMISSION_ERROR_DESC="用户无权限登录系统";
	public static final int INSERT_ERROR=4;
	public static final String INSERT_ERROR_DESC="添加信息失败";
	public static final int UPDATE_ERROR=5;
	public static final String UPDATE_ERROR_DESC="修改信息失败";
	public static final int PARAM_ERROR=6;
	public static final String PARAM_ERROR_DESC="参数错误:";
	public static final int DELETE_ERROR=7;
	public static final String DELETE_ERROR_DESC="删除信息失败";
	public static final int SELECT_ERROR = 8;
	public static final String SELECT_ERROR_DESC = "查询信息失败";
	public static final int OPTION_SUCCESS =0;
	public static final String OPTION_SUCCESS_DESC ="操作成功";
	public static final int USER_EXITS_ERROR =9;
	public static final String USER_EXITS_ERROR_DESC ="用户登陆名已经存在";
	/**
	 * =' " & # <> \/ +
	 */
	public static final int ILLEGAL_PARAM_ERROR =10;
	public static final String ILLEGAL_PARAM_ERROR_DESC ="非法字符";
	public static final int OPTION_ERROR =11;
	public static final String OPTION_ERROR_DESC ="操作错误";
	public static final int NO_SELECTED_RESLUTS =12;
	public static final String NO_SELECTED_RESLUTS_DESC ="无查询结果,请重新输入关键字!";
	
}
